using System.Reflection;
using rpc_service.core;

namespace rpc_service.test;

[RPCClass(Path = "http://localhost:5298")]
public interface Test2
{
    // [RPCMethod(Path = "baidu.com", Method = "GET", 
    //     TokenProvider = "rpc_service.test.TestMethod.GetToken",
    //     Headers = new[] { "Authorization", "{token}" })]
    // public string TestRpcMethod(string test);
    //
    // [RPCMethod(Path = "baidu.com", Method = "GET")]
    // public string TestRpcMethod1(string test);
    //
    [RPCMethod(Path = "uuid", Method = "GET")]
    public string Test1();
}

